@extends('linfeng.home.person')
@section('title','浏览记录')
@section('first-person')
        <div class="mains">
        <div class="right-main-container">
            @section('first-person')
                <div class="books-container">
                    {{--判断是否有收藏--}}
                    {{--下面是有收藏--}}
                    {{--一本书--}}
                    <h2><b>最近的浏览记录书籍</b></h2>
                    @if(!empty($collers))
                        @foreach($collers as $k)
                            <div class="one-book-item">
                                <div class="cover-img-container ">
                                    <a title="若你不弃，此生不离" target="_blank" href="{{url('home/message/'.$k->id)}}">
                                        <img class="book-cover img-thumbnail" width="142" height="190" style="width: 142px;height: 190px" src="{{asset('image/books/'.$k->bookicon)}}">
                                    </a>
                                </div>
                                <span class="book-name">
                                        <a title="若你不弃，此生不离" target="_blank" href="">{{$k->bookname}}</a>
                                    </span>
                                <span class="book-copr">
                                    </span>
                                <span class="book-state">浏览记录</span>
                            </div>
                        @endforeach
                    @else
                        <h2>目前没有收藏</h2>
                    @endif
                </div>
                {{$collers->links()}}
            @show
        </div>
    </div>
@endsection